  
         
          <div class="wrap-detail-box">
          	  <div class="col-sitemap1 ">
              	<h2>Sitemap &rarr;</h2>
              </div>	
              <div class="col-sitemap2 ">
                    <ul id="tree">
                        <li class="open"><a href="#" class="h-par">Header Navigation</a>
                            <ul id="sub">
        <?php foreach($list_page as $item):?>                    
                                <li><a href="<?php echo site_url(set_url_title($item['title']))?>" class="parent"><?php echo $item['title']?></a>
        <?php if(count($item['list_page_item']) && ($item['id'] > 1)):?>                                                       
                                    <ul id="sub-sub">
        <?php foreach($item['list_page_item'] as $item2):?>                            
                                        <li><a href="<?php echo site_url(set_url_title($item['title'])."/".$item2['id']."/".set_url_title($item2['title']))?>"><?php echo $item2['title']?></a></li>
        <?php endforeach;?>                                
                                    </ul>
        <?php endif;?>                            
                                </li>
        <?php endforeach;?>                        
                                
                                <li><a href="<?php echo site_url("contact-us")?>" class="parent">Contact Us</a></li>
                            </ul>
                        </li>
                        <li><a href="#" class="h-par">Footer Navigation</a>
                            <ul id="sub">
                                <li><a href="#">Facebook</a></li>
                                <li><a href="#">Twitter</a></li>
                                <li><a href="<?php echo site_url("sitemap")?>">Sitemap</a></li>
          
                            </ul>
                        </li>
                       
                    </ul>
              </div>
              <div class="clear"></div>
          </div>
